home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-04
/
sprite18.zip
/
SPRITE.DOC
< prev
next >
Wrap
Text File
|
1992-09-20
|
4KB
|
60 lines
╔════════════════════════════════╗
║ VGA Sprite/Palette Editor V1.8 ║
╚════════════════════════════════╝
This program is freeware. You may freely distribute it anywhere you would
like as long as this .DOC and the .EXE are archived, along with some sample
sprite files.
A sprite is an object on the screen that moves at variable speeds, like a
spaceship or an enemy or some sort. This is an editor I wrote that creates
them. Basically, the format is for my own use, but since I'm distributing this
program it might interest you programmers. But first the basics. The
following is a list of keys you use.
S - Sprite Mode P - Palette Mode
~~~~~~~~~~~ ~~~~~~~~~~~~
Up arrow - moves cursor up. Up arrow - Switches through RGB
Down arrow - " " down. registers of current
Left arrow - " " left. color.
Right arrow -" " right. Down arrow - same as above.
Spacebar - turns pixel under cursor Left arrow - decreases R, G, or B
to the current color. register.
E - erases pixel under cursor (makes Right arrow - increases register.
it color 0) + increases color number.
+ increases color number. - decreases color number.
- decreases color number.
V-saVe sprite & palette. V-saVe sprite & palette.
L-Load sprite & palette. L-Load sprite & palette.
G-Gets the color under the cursor.
Esc-Go to Palette mode. Esc-Exit to DOS.
When you start this program up, it will be in the Palette mode. S moves
into the sprite mode, P or Escape gets you back into the Palette.
Note: There is bug in my loading and saving routines, because I was too lazy
to write my own input routine. Don't press escape trying to save or load if
you accidentally hit V or L. Just press enter or you will junk up the screen
over the sprite. Also, it will take a while to save and load, since I used
extremely slow palette saving and loading routines. Oh, and when you go to
load and save, it doesn't automatically put any extention, so you have to type
it in if you put one. (I recommend putting .SPR as an extention so you know
what the files are for.) Version 2.0 will have all of these fixed and I should
have it out within a week or two.
By the way, if you're in the 414 area code, call the Arcade BBS at
549-1653. I have a file section where you can upload your creations and you
and I may be able to write a game or something of the sort.
Now, for all the programmers like myself out there, the file format is a
binary file, with palette indexes 0-240's Red, Green, and Blue values,
respectively. (I use 241-255 for stuff in the program and I excluded them to
make drawing all the palette boxes nice and even.) Then the sprite data goes
vertically and then horizontally, having 20 pixels down and 32 across. I
didn't explain that very well but just call my BBS and either write me mail or
chat with me to clear things up.
-Andy Sloane (Andude)
Sysop of the Arcade BBS
(414) 549-1653